package com.x.chalk.controller;

import com.x.chalk.service.intf.ScorelogService;
import com.x.chalk.vo.R;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: 邢朋辉
 * @Date: 2022/09/20 11:00:07
 */
@RestController
@RequestMapping("/api/scorelog/")
@CrossOrigin
@Api(tags = "积分变动相关操作")
public class ScorelogController {
    @Autowired
    private ScorelogService service;

    /**查询*/
    @GetMapping("all.do")
    public R all(){
        return service.queryAll();
    }
}